import { get, post } from "@/axios";

/**
 * 请求登录
 * @param {Object} params 
 * @returns 
 */
export function doLogin(params){
    params['clientUUID'] = localStorage.getItem('chhuangboot.clientUUID');
    return post('/doLogin', params);
}

/**
 * 请求退出登录
 * @returns 
 */
export function doLogout(){
    return get('/doLogout');
}